﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace brainfuckReverse
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Введите строку");
            string str = Console.ReadLine();
            
            for (int i = 0; i < str.Length; i++) 
            {
                char ch = str[i];
                char probel = ' ';
                int value=32;

                if (ch == probel)
                {value = value + 0; }
                else
                {
                    for (ch = probel++; ch < str[i]; ch++)
                    { probel++;
                       value= value + 1;
                    }
            }

            for (int k = 0; k < value ; k++) 
                  { Console.Write("+"); }

                    Console.Write(">!");
            }

            Console.Write("@");
            Console.ReadLine();
        }
    }
}
